import Vue from 'vue'
import Router from 'vue-router'
import main from '@/components/main'
import cardShow from '@/components/card/card_show'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'main',
      component: main
    },
     {
       path: '/card/:id',
       name: 'cardShow',
       component: cardShow
     }
   
  ]
})
